import React from 'react';
import { BrowserRouter, Switch, Route, Redirect } from 'react-router-dom'
import routes from './router/router.config'
import RouterView from './router/router.view'
function App() {
  return (
    <div className="App">
      <BrowserRouter>
        <RouterView routes={routes}></RouterView>
      </BrowserRouter>
    </div>
  );
}

export default App;


// /home => Home
// /home/list => List
// /home/list/detail => Detail
// /about => About
// / => /home